package com.atguigu.springcloud.controller.lb;

import org.springframework.cloud.client.ServiceInstance;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @USER: dayu Administrator
 * @DATE: 2020/3/25
 * @DESCRIPTION: 手写负载均衡算法
 */
public interface ILoadBalance {
    ServiceInstance instances(List<ServiceInstance> serviceInstances);

}
